#include <iostream>
#include <string>

using namespace std;
int main ()
{
    //This is c-string
    char str1[100];

    cin >> str1;
    cout << str1 << endl;

    //This is string 
    string str2;

    cin >> str2;
    cout << str2 << endl;
return 0;

}